<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>管理员登录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="commons/css/login.css">
  	<script type="text/javascript" src="commons/js/validate.js"></script>
  	<script type="text/javascript" src="commons/js/jquery-1.4.2.min.js"></script>
  </head>
	  
	<body>
	      <div id="content">
	          <div id="wrapper" style="margin-top:100px;">
	              <div id="steps" style="width: 3000px; ">
	                  <form id="formElem" name="formElem" action="admin_login.action" method="post" onsubmit="return validate();">
	                      <s:token></s:token>
	                      <fieldset class="step">
	                          <legend><h3>欢迎登录系统</h3></legend>
	                          <p>
	                              <label for="username">帐号</label>
	                              <input name="no" onchange="chkno();">
	                          </p>
	                          <p>
	                              <label for="password">密码</label>
	                              <input name="password" type="password" autocomplete="OFF">
	                          </p>
	                      </fieldset>
	                      <p class="submit"><button id="registerButton" type="submit"> 登 录 </button></p>
	                  </form>
	              </div>
	              <div>
	              	<div align="center">
	              		<span id="msg" style="color:red;"><s:actionerror/></span>
	              	</div>
	              	<div align="right">
	              		<a href="index.htm" style="text-decoration:none;color:gray;">&lt;&lt;回到首页</a>
	              	</div>
	              </div>
	          </div>
	      </div>
	</body>
</html>
